/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lyricsguy.procress;

import java.util.ArrayList;
import java.util.List;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;

/**
 *
 * @author User
 */
public class SongUrlGetter {

    public static List<String> getSongUrl(Document document) {
        List<String> result = new ArrayList<String>();
        Elements elements = document.getElementsByAttributeValueContaining("href", "/50-cent/");

        for (Object object : elements) {
            result.add(object.toString());
        }

        return result;

    }
}
